package com.example.haojiutao.model.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 商品类型
 * @Author: ma_lihong
 * @CreateTime: 2024/1/16 14:26
 */

@Data
public class GoodsType extends BaseEntity{
    private Integer typeId;  //种类id
    private Integer parentId;
    private String goodsType;  //商品种类typeId
    private Integer delFlag;  //删除标志，0为正常1为已删除
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
